/**
 * @filename:TmReportCommission ReportCommission
 * @project wallet-sign  V1.0
 * Copyright(c) 2018 BianPeng Co. Ltd. 
 * All right reserved. 
 */
package com.yixun.qfbao.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**   
 *  
 * @Description:  报备佣金信息表
 * @Author:       BianPeng   
 * @CreateDate:   ReportCommission
 * @Version:      V1.0
 *    
 */
public class ReportCommission implements Serializable {

	private static final long serialVersionUID = 1592979775288L;
	
	private Long id;

	@ApiModelProperty(name = "agentCompanyId" , value = "机构id")
	private Long agentCompanyId;

	@ApiModelProperty(name = "devCompanyId" , value = "渠道商id")
	private Long devCompanyId;

	@ApiModelProperty(name = "premisesId" , value = "楼盘id")
	private Long premisesId;

	@ApiModelProperty(name = "reportId" , value = "报备id")
	private Long reportId;

	@ApiModelProperty(name = "commissionId" , value = "佣金id")
	private Long commissionId;

	@ApiModelProperty(name = "devCommissionStatus" , value = "开发商佣金状态:0:待结佣，1：完成结佣，2：部分结佣")
	private String devCommissionStatus;

	@ApiModelProperty(name = "agentCommissionStatus" , value = "合作机构佣金状态:0:待结佣，1：完成结佣，2：部分结佣")
	private String agentCommissionStatus;

	@ApiModelProperty(name = "devCommission" , value = "开发商总佣金 ")
	private BigDecimal devCommission;

	@ApiModelProperty(name = "devReceivedCommission" , value = "开发商已结佣金 ")
	private BigDecimal devReceivedCommission;

	@ApiModelProperty(name = "devPendingCommission" , value = "开发商待结佣金 ")
	private BigDecimal devPendingCommission;

	@ApiModelProperty(name = "agentCommission" , value = "合作机构总佣金 ")
	private BigDecimal agentCommission;

	@ApiModelProperty(name = "agentReceivedCommission" , value = "合作机构已结佣金 ")
	private BigDecimal agentReceivedCommission;

	@ApiModelProperty(name = "agentPendingCommission" , value = "合作机构待结佣金 ")
	private BigDecimal agentPendingCommission;

	@ApiModelProperty(name = "orgCommission" , value = "本部机构总佣金 ")
	private BigDecimal orgCommission;

	@ApiModelProperty(name = "orgReceivedCommission" , value = "本部机构已结佣金 ")
	private BigDecimal orgReceivedCommission;

	@ApiModelProperty(name = "orgPendingCommission" , value = "本部机构待结佣金 ")
	private BigDecimal orgPendingCommission;

	@ApiModelProperty(name = "createUserId" , value = "创建人")
	private Long createUserId;

	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
	@ApiModelProperty(name = "createTime" , value = "创建时间")
	private Date createTime;

	@ApiModelProperty(name = "updateUserId" , value = "更新人")
	private Long updateUserId;
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")

	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
	@ApiModelProperty(name = "updateTime" , value = "更新时间")
	private Date updateTime;

	@ApiModelProperty(name = "delFlag" , value = "删除状态，0:否，1是")
	private String delFlag;

	@ApiModelProperty(name = "ruleStatus" , value = "佣金规则状态，0:无规则，1有规则")
	private String ruleStatus;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getAgentCompanyId() {
		return agentCompanyId;
	}

	public void setAgentCompanyId(Long agentCompanyId) {
		this.agentCompanyId = agentCompanyId;
	}

	public Long getPremisesId() {
		return premisesId;
	}

	public void setPremisesId(Long premisesId) {
		this.premisesId = premisesId;
	}

	public Long getReportId() {
		return reportId;
	}

	public void setReportId(Long reportId) {
		this.reportId = reportId;
	}

	public Long getCommissionId() {
		return commissionId;
	}

	public void setCommissionId(Long commissionId) {
		this.commissionId = commissionId;
	}

	public String getDevCommissionStatus() {
		return devCommissionStatus;
	}

	public void setDevCommissionStatus(String devCommissionStatus) {
		this.devCommissionStatus = devCommissionStatus;
	}

	public String getAgentCommissionStatus() {
		return agentCommissionStatus;
	}

	public void setAgentCommissionStatus(String agentCommissionStatus) {
		this.agentCommissionStatus = agentCommissionStatus;
	}

	public BigDecimal getDevCommission() {
		return devCommission;
	}

	public void setDevCommission(BigDecimal devCommission) {
		this.devCommission = devCommission;
	}

	public BigDecimal getDevReceivedCommission() {
		return devReceivedCommission;
	}

	public void setDevReceivedCommission(BigDecimal devReceivedCommission) {
		this.devReceivedCommission = devReceivedCommission;
	}

	public BigDecimal getDevPendingCommission() {
		return devPendingCommission;
	}

	public void setDevPendingCommission(BigDecimal devPendingCommission) {
		this.devPendingCommission = devPendingCommission;
	}

	public BigDecimal getAgentCommission() {
		return agentCommission;
	}

	public void setAgentCommission(BigDecimal agentCommission) {
		this.agentCommission = agentCommission;
	}

	public BigDecimal getAgentReceivedCommission() {
		return agentReceivedCommission;
	}

	public void setAgentReceivedCommission(BigDecimal agentReceivedCommission) {
		this.agentReceivedCommission = agentReceivedCommission;
	}

	public BigDecimal getAgentPendingCommission() {
		return agentPendingCommission;
	}

	public void setAgentPendingCommission(BigDecimal agentPendingCommission) {
		this.agentPendingCommission = agentPendingCommission;
	}

	public BigDecimal getOrgCommission() {
		return orgCommission;
	}

	public void setOrgCommission(BigDecimal orgCommission) {
		this.orgCommission = orgCommission;
	}

	public BigDecimal getOrgReceivedCommission() {
		return orgReceivedCommission;
	}

	public void setOrgReceivedCommission(BigDecimal orgReceivedCommission) {
		this.orgReceivedCommission = orgReceivedCommission;
	}

	public BigDecimal getOrgPendingCommission() {
		return orgPendingCommission;
	}

	public void setOrgPendingCommission(BigDecimal orgPendingCommission) {
		this.orgPendingCommission = orgPendingCommission;
	}

	public Long getCreateUserId() {
		return createUserId;
	}

	public void setCreateUserId(Long createUserId) {
		this.createUserId = createUserId;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Long getUpdateUserId() {
		return updateUserId;
	}

	public void setUpdateUserId(Long updateUserId) {
		this.updateUserId = updateUserId;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getDelFlag() {
		return delFlag;
	}

	public void setDelFlag(String delFlag) {
		this.delFlag = delFlag;
	}

	public String getRuleStatus() {
		return ruleStatus;
	}

	public void setRuleStatus(String ruleStatus) {
		this.ruleStatus = ruleStatus;
	}

	public Long getDevCompanyId() {
		return devCompanyId;
	}

	public void setDevCompanyId(Long devCompanyId) {
		this.devCompanyId = devCompanyId;
	}
}
